//
//  MGGradientEdgeView.h
//  Mango
//
//  Created by 胡超 on 2021/2/5.
//  Copyright © 2021 DLive. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MGGradientEdgeMode) {
    MGGradientEdgeModeTop,
    MGGradientEdgeModeLeft,
    MGGradientEdgeModeBottom,
    MGGradientEdgeModeRight,
    MGGradientEdgeModeTopBottom,
    MGGradientEdgeModeLeftRight,
};

@interface MGGradientEdgeView : UIView

- (void)addScrollView:(UIScrollView *)scrollView mode:(MGGradientEdgeMode)mode edgeWidth:(CGFloat)edgeWidth autoHide:(BOOL)autoHide;

@end

NS_ASSUME_NONNULL_END
